SmashBalloon\TikTokFeeds\Common\Services\NotificationService C

Total Complexity 116
Dependencies 1
Dependents 1
Total lines 831
Lines of code 458
Logical lines of code 228
Comment lines 207
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
verifyActiveNotifications()
A
53 13 21
getButtonsHtml()
S
52 7 23
getNotifications()
S
56 7 17
checkVersionRequirements()
S
59 7 13
verifyNotifications()
S
58 6 16
getImageData()
S
50 4 30
isNotificationValid()
S
63 5 12
renderNotification()
S
53 4 22
getDismissButtonHtml()
S
55 4 19
dismissNotification()
S
56 4 16
fetchNotifications()
S
58 4 16
filterNotifications()
S
62 5 10
getButtonClass()
S
61 5 10
getNavigationButtonsHtml()
S
51 3 28
enqueueScripts()
S
53 3 26
outputNotifications()
S
53 3 23
replaceMergeFields()
S
55 3 19
getOptionValue()
S
60 3 13
getImageHtml()
S
62 3 10
getConsentStep()
S
57 1 20
getButtonUrl()
S
65 2 8
hasAccess()
S
70 2 6
checkStatusRequirement()
S
66 2 8
getProcessedContent()
S
66 2 8
isRecentlyInstalled()
S
67 2 7
isExpired()
S
77 2 3
isDismissed()
S
73 2 4
getProcessedTitle()
S
68 2 7
updateNotifications()
S
62 1 13
getNotificationContent()
S
62 1 11
getSourceUrl()
S
81 1 3
getWrapperClass()
S
68 1 7
getOptionName()
S
81 1 3
register()
S
70 1 6